package net.ericaro.neojavagen.expressions ;
import net.ericaro.neojavagen.expressions.MethodInvocationBody;
import net.ericaro.neojavagen.expressions.MethodInvocation;
import net.ericaro.neojavagen.expressions.Primary ;

/**
* *<pre> PrimaryMethodInvocation :
    Primary . MethodInvocationBody
</pre>
*/
public class PrimaryMethodInvocation  implements MethodInvocation {

Primary primary;
MethodInvocationBody methodinvocationbody ;

public PrimaryMethodInvocation( Primary primary, MethodInvocationBody methodinvocationbody ){
	this.primary = primary; this.methodinvocationbody = methodinvocationbody ;
	}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.primary ).append(" ");
stringbuilder.append( "." ).append(" ");
stringbuilder.append( this.methodinvocationbody ).append(" ") ;
	return stringbuilder.toString();
}

}
